#pragma once
#include "CTableBase.h"
class CUpdateTable :
    public CTableBase
{
public:
	virtual int getTableType() const override;
	virtual int InitTable() override;

	virtual int writeLog(CLogBatchPtr logBatch) override;
	virtual int writeRecord(CLogRecordPtr logRecord) override;
	virtual int beforeWriteRecord(CLogRecordPtr logRecord) override;

private:

	int ClearAllRecords(const std::string& tableName, CppSQLite3DB* db);
};

